package com.create.builder;

/**
 * ConcreteBuilder 具体建造者
 * @author LIUZENGLONG
 *
 */
public class HouseBuilder extends Builder {

	public HouseBuilder(){
		super.room = new Room();
	}

	public void create(){
		super.room.setName("家庭住房");
	}

	public void addItems(){
		super.room.createItem(new Window());
		super.room.createItem(new Table());
		super.room.createItem(new Kitchen());
	}

	public Room builder(){
		return super.room;
	}
}